package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.Alert;
import com.huazhi.wzsnw.model.Lined;

import javax.servlet.http.HttpServletRequest;
import java.io.OutputStream;
import java.text.ParseException;
import java.util.Date;
import java.util.List;

public interface AlertService extends CurdService<Alert>{

    List<String> getSearchAlertList(String search, Alert alert);

    List<String> getSearchAlertListByRequest(HttpServletRequest request) throws ParseException;

    List<Alert> getAlertListByClassify(Alert alert,Integer pageIndex,Integer pageSize);

    List<Alert> getClassifyByRequest(HttpServletRequest request,Integer pageIndex,Integer pageSize) throws ParseException;

    void ExportClassifyExcel(OutputStream out,List<Alert> alertList, String type);
//    public List<String> selectAlertBySearch(String number, String userTid);
//
//    public  List<Alert> selectAlertByTid(List<String> list, Integer pageIndex, Integer pageSize);
//
//    public  List<Alert> getNumber(String number);
//
//    public void updateIsAlert(String tid, String isAlert);
//
//    public List<String> selectAlertHistoricalBySearch(String number);
//
//    public  List<Alert> selectAlertHistoricalByTid(List<String> list, Integer pageIndex, Integer pageSize);

}
